package com.gisuni.sddc.platformManager.model;


import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
 

 
public class ProjectTimenodeDetailId implements java.io.Serializable {

	// Fields

	private String id;
	private String projectRTimenodeId;
	private String timenodeId;
	private String followUser;
	private Date planFinishTime;
	private Date actualFinishTime;
	private String actualPayMoney;
	private String status;
	private String remark;

	// Constructors

	/** default constructor */
	public ProjectTimenodeDetailId() {
	}

 

	/** full constructor */
	public ProjectTimenodeDetailId(String id, String projectRTimenodeId,
			String timenodeId, String followUser, Date planFinishTime,
			Date actualFinishTime, String actualPayMoney, String status,
			String remark) {
		this.id = id;
		this.projectRTimenodeId = projectRTimenodeId;
		this.timenodeId = timenodeId;
		this.followUser = followUser;
		this.planFinishTime = planFinishTime;
		this.actualFinishTime = actualFinishTime;
		this.actualPayMoney = actualPayMoney;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors

	@Column(value = "ID")
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(value = "PROJECT_R_TIMENODE_ID" )
	public String getProjectRTimenodeId() {
		return this.projectRTimenodeId;
	}

	public void setProjectRTimenodeId(String projectRTimenodeId) {
		this.projectRTimenodeId = projectRTimenodeId;
	}

	@Column(value = "TIMENODE_ID" )
	public String getTimenodeId() {
		return this.timenodeId;
	}

	public void setTimenodeId(String timenodeId) {
		this.timenodeId = timenodeId;
	}

	@Column(value = "FOLLOW_USER" )
	public String getFollowUser() {
		return this.followUser;
	}

	public void setFollowUser(String followUser) {
		this.followUser = followUser;
	}

	@Column(value = "PLAN_FINISH_TIME" )
	public Date getPlanFinishTime() {
		return this.planFinishTime;
	}

	public void setPlanFinishTime(Date planFinishTime) {
		this.planFinishTime = planFinishTime;
	}

	@Column(value = "ACTUAL_FINISH_TIME" )
	public Date getActualFinishTime() {
		return this.actualFinishTime;
	}

	public void setActualFinishTime(Date actualFinishTime) {
		this.actualFinishTime = actualFinishTime;
	}

	@Column(value = "ACTUAL_PAY_MONEY" )
	public String getActualPayMoney() {
		return this.actualPayMoney;
	}

	public void setActualPayMoney(String actualPayMoney) {
		this.actualPayMoney = actualPayMoney;
	}

	@Column(value = "STATUS" )
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(value = "REMARK" )
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof ProjectTimenodeDetailId))
			return false;
		ProjectTimenodeDetailId castOther = (ProjectTimenodeDetailId) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getProjectRTimenodeId() == castOther
						.getProjectRTimenodeId()) || (this
						.getProjectRTimenodeId() != null
						&& castOther.getProjectRTimenodeId() != null && this
						.getProjectRTimenodeId().equals(
								castOther.getProjectRTimenodeId())))
				&& ((this.getTimenodeId() == castOther.getTimenodeId()) || (this
						.getTimenodeId() != null
						&& castOther.getTimenodeId() != null && this
						.getTimenodeId().equals(castOther.getTimenodeId())))
				&& ((this.getFollowUser() == castOther.getFollowUser()) || (this
						.getFollowUser() != null
						&& castOther.getFollowUser() != null && this
						.getFollowUser().equals(castOther.getFollowUser())))
				&& ((this.getPlanFinishTime() == castOther.getPlanFinishTime()) || (this
						.getPlanFinishTime() != null
						&& castOther.getPlanFinishTime() != null && this
						.getPlanFinishTime().equals(
								castOther.getPlanFinishTime())))
				&& ((this.getActualFinishTime() == castOther
						.getActualFinishTime()) || (this.getActualFinishTime() != null
						&& castOther.getActualFinishTime() != null && this
						.getActualFinishTime().equals(
								castOther.getActualFinishTime())))
				&& ((this.getActualPayMoney() == castOther.getActualPayMoney()) || (this
						.getActualPayMoney() != null
						&& castOther.getActualPayMoney() != null && this
						.getActualPayMoney().equals(
								castOther.getActualPayMoney())))
				&& ((this.getStatus() == castOther.getStatus()) || (this
						.getStatus() != null
						&& castOther.getStatus() != null && this.getStatus()
						.equals(castOther.getStatus())))
				&& ((this.getRemark() == castOther.getRemark()) || (this
						.getRemark() != null
						&& castOther.getRemark() != null && this.getRemark()
						.equals(castOther.getRemark())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37
				* result
				+ (getProjectRTimenodeId() == null ? 0 : this
						.getProjectRTimenodeId().hashCode());
		result = 37
				* result
				+ (getTimenodeId() == null ? 0 : this.getTimenodeId()
						.hashCode());
		result = 37
				* result
				+ (getFollowUser() == null ? 0 : this.getFollowUser()
						.hashCode());
		result = 37
				* result
				+ (getPlanFinishTime() == null ? 0 : this.getPlanFinishTime()
						.hashCode());
		result = 37
				* result
				+ (getActualFinishTime() == null ? 0 : this
						.getActualFinishTime().hashCode());
		result = 37
				* result
				+ (getActualPayMoney() == null ? 0 : this.getActualPayMoney()
						.hashCode());
		result = 37 * result
				+ (getStatus() == null ? 0 : this.getStatus().hashCode());
		result = 37 * result
				+ (getRemark() == null ? 0 : this.getRemark().hashCode());
		return result;
	}

}